﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Client.ShopServiceReference;
using ServerApp;
using Server;

namespace Client 
{
    public delegate void ReserveOrder(long orderId, int customerId);

    public interface IOrdersView
    {
        event EventHandler OnCreate;
        event EventHandler OnGetFullOrder;
        event ReserveOrder OnReserveOrder;
                
        void FillOrderTable(List<OrderView> list);
        void FillTheOrder(OrderFull order);
        void UpdateOrder(OrderFull order);
    }
}
